﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using ServicesTest.SecurityService;

namespace ServicesTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var client = new SecurityServiceClient();

            try
            {
                client.Login(new LoginRequest
                    {
                        Email = null,
                        Login = null,
                        Password = null
                    });
            }
            catch (FaultException<GeneralFault> ex)
            {
                Console.WriteLine(ex.Message);
            }
            Console.ReadKey();
        }
    }
}
